package com.zyh.alpacaDemo.order.pojo;


/**
 * @Classname OrderRequest
 * @Description TODO()
 * @Date 2025-09-01 21:03
 * @Created by 86177
 */
public class OrderRequest {
    private String symbol;
    private String side;
    private String type;

    @com.fasterxml.jackson.annotation.JsonProperty("time_in_force")
    private String timeInForce;

    private Double qty;
    private Double notional;

    @com.fasterxml.jackson.annotation.JsonProperty("limit_price")
    private Double limitPrice;

    @com.fasterxml.jackson.annotation.JsonProperty("stop_price")
    private Double stopPrice;

    @com.fasterxml.jackson.annotation.JsonProperty("client_order_id")
    private String clientOrderId;

    // 构造器、getter和setter
    public OrderRequest() {}

    public String getSymbol() { return symbol; }
    public void setSymbol(String symbol) { this.symbol = symbol; }

    public String getSide() { return side; }
    public void setSide(String side) { this.side = side; }

    public String getType() { return type; }
    public void setType(String type) { this.type = type; }

    public String getTimeInForce() { return timeInForce; }
    public void setTimeInForce(String timeInForce) { this.timeInForce = timeInForce; }

    public Double getQty() { return qty; }
    public void setQty(Double qty) { this.qty = qty; }

    public Double getNotional() { return notional; }
    public void setNotional(Double notional) { this.notional = notional; }

    public Double getLimitPrice() { return limitPrice; }
    public void setLimitPrice(Double limitPrice) { this.limitPrice = limitPrice; }

    public Double getStopPrice() { return stopPrice; }
    public void setStopPrice(Double stopPrice) { this.stopPrice = stopPrice; }

    public String getClientOrderId() { return clientOrderId; }
    public void setClientOrderId(String clientOrderId) { this.clientOrderId = clientOrderId; }
}
